package User;

import Book.BookList;
import Operations.IOperation;

public abstract class User {
    protected String name;

    protected IOperation[] ioperations;//定义一个操作数组，并不进行初始化，在子类中进行初始化

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();

    public abstract void doOperation(int choice, BookList bookList);
}
